<template>
    <div class="goods">
        <el-row>
            <el-col :span="24">
                <el-breadcrumb separator="/">
                    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
                    <el-breadcrumb-item :to="{ path: '/goods' }">商品管理</el-breadcrumb-item>
                    <el-breadcrumb-item>商品列表</el-breadcrumb-item>
                </el-breadcrumb>
            </el-col>
        </el-row>
        <el-row>
            <el-col :span="24">
                <el-button type="success" plain @click="addGoods">添加商品</el-button>
            </el-col>
        </el-row> 

       
    </div>
</template>
<script>
export default {
    methods:{
        addGoods(){
            this.$router.push({name:'AddGoods'})
        }
    }
}
</script>
<style lang="scss" scoped>

</style>
